{% extends "base.html" %}


{% block title %}
登录
{% endblock %}


{% block login %}
    active
{% endblock %}

{% block body %}
    <form action="{% url "login" %}" method="post">
        {% csrf_token %}
        <table>
            <tr>
                <td>用户名</td>
                <td><input type="text" name="username"></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="text" name="password"></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit"></td>
            </tr>
            <tr>
                <td></td>
                <td><a href="{% url "face_login" %}">使用人脸登录</a></td>
            </tr>
        </table>
    </form>
{% endblock %}